package datolib;

import java.util.*;

public class ClientInterface {

	private TcpGateway gateway;
	
	public ClientInterface(TcpGateway socket) {
		this.gateway = socket;
	}
	
	public ClientInterface duplicate() {
		return null;
	}
	
	public void setGateway(TcpGateway gate) {
		this.gateway = gate;
	}	

	public void showMessage(String message) {
		if (this.gateway == null) {
			return;
		}
		this.gateway.msg(message);
	}
	
	public void shutdown() {
	
	}
	
	public void setText(String control, String textValue) {
		if (this.gateway == null) {
			return;
		}
		this.gateway.scp(control, "text", textValue);
	}
	
	public void getText(String control) {
		
	}
	
	
}
